package com.operate.api.operate.dramas.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class DramasVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "剧目编号")
    private String dramaRef;
    @ApiModelProperty(value = "所属商户名称")
    private String companyName;
    @ApiModelProperty(value = "剧目备案号")
    private String dramaNo;
    @ApiModelProperty(value = "剧目封面URL")
    private String dramaImg;
    @ApiModelProperty(value = "剧目名称")
    private String dramaName;
    @ApiModelProperty(value = "剧目数量（集数）")
    private Integer dramaNum;
    @ApiModelProperty(value = "授权材料表URL")
    private String dramaEmpowerUrl;
    @ApiModelProperty(value = "剧目状态( 7 已上线  8 已下线)")
    private String dramaState;
    @ApiModelProperty(value = "剧目片花URL")
    private String dramaUrl;
    @ApiModelProperty(value = "剧目免费数量")
    private Integer dramaFree;
    @ApiModelProperty(value = "剧目单价")
    private BigDecimal dramaPrice;

    @ApiModelProperty(value = "剧目出品方")
    private String dramaProducer;
    @ApiModelProperty(value = "剧目版权到期时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date dramaDateExpire;
    @ApiModelProperty(value = "剧目版权到期状态1已到期 2未到期")
    private Integer dramaExpireState;


    @ApiModelProperty(value = "首次上线时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date scheduleDateE;
}